package ncorps.newton;

import java.io.IOException;
import ncorps.commun.ConditionInitiale;

public class NCorps_Newton {

    private double[][] newgcoord;
    private double[][] fforces;

    public NCorps_Newton(ConditionInitiale CI, double dt) throws IOException {
        ForcesNewton forcesnewton = new ForcesNewton(CI, dt);
        newgcoord =forcesnewton.getGcoord();
        fforces = forcesnewton.getFforces();
    }

    public double[][] getGcoord() {
        return newgcoord;
    }

    public double[][] getFforces() {
        return fforces;
    }
    
}
